
 <!-- 头部 -->
	{include file='public/header'}
<!-- 头部 --> 

<div class="content">
				<div class="tips_msg none"><span class="tips">保存成功</span><span class="close_tips"></span></div>
				<div class="edit_title">{$meta_title|default=""}</div>
				<div class="edit_box">
				
					<div class="edit_tab">
						<div class="tab_option on">基础</div>
						<div class="tab_option">高级</div>
					</div>
					<div class="edit_content">
					   <form class="group-form"  action="{:url('')}" method="post">
						<div class="edit_content_tab">
						<div class="input_title">名称<span>(模块名称)</span></div>
							<input type="text" name="title" class="input_box" value="{$info.title|default=""}"/>
						    <div class="input_title">链接<span>(模块链接)</span></div>
						    <input type="text" id="user-weibo" class="input_box" name="url" value="{$info.url|default=""}">
					  	  	<div class="input_title">上级分类<span>(所属分类)</span></div>
						 <select name="pid" >
                          <option value="0">一级导航</option>   
	                            {volist name="list" id="vo"}
                                   <option value="{$vo.id}">{$vo.html|default=""}{$vo.title}</option>
                           {/volist}
                           </select>

						
						    <div class="input_title">链接打开方式<span>（_blank或_self）</span></div>
						    <select name="target">
				             <option value="_self"  {notempty name="info['target']"}
							 {eq name="info.target" value="_self" }selected{/eq}{/notempty}>当前窗口</option>
						   <option value="_blank"  {notempty name="info['target']"}
						   {eq name="info.target" value="_blank"}selected{/eq}{/notempty}>新窗口</option>
				         
                           </select>
					  	 </div>
				         <div class="edit_content_tab none">
						  	<div class="input_title">排序<span>(越小越靠前)</span></div>
							<input type="text" name="sort" class="input_box" value="{$info.sort|default=""}"/>
							 <div class="input_title">状态<span>(状态)</span></div>
							<input type="text" name="status" class="input_box" value="{$info.status|default="1"}"/>
						 </div>
						 <div class="btn_group">
						    <input type="hidden" name="id" value="{$info.id|default=""}">
							<div class="confirm_btn">确认</div>
							<div class="cancel_btn">返回</div>
						</div>
						</form> 
					</div>
				</div>
			</div>
		</div>
 <script src="__JS__/edit.js"></script>
   <script type="text/javascript">
    $("select[name='pid']").val("{$info.pid|default='0'}");
    </script>
<!-- 尾部 -->
	{include file='public/footer'}
    <!-- 尾部 --> 
